/*
 *@(#)Access.java Mar 11, 2013
 *
 *Copyright (c) CSS-CA  LTD. All rights reserved. 
 */
package com.ds.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 接口访问级别注解
 * 
 * @Author zhang xu
 * @Date <Mar 11, 2013>
 * @version <1.0>
 * 
 */
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Access {
	/**
	 * session验证
	 */
	boolean session() default false;

	/**
	 * session验证
	 */
	boolean ip() default false;

	/**
	 * session验证
	 */
	boolean local() default false;

}
